package com.zrgj.manager.mapper;

import com.sun.org.apache.xerces.internal.impl.xs.util.ObjectListImpl;
import com.zrgj.domain.Product;
import com.zrgj.domain.ProductAndProductInfo;
import com.zrgj.domain.ProductPo;
import com.zrgj.domain.ProductVo;

import java.util.List;

public interface ProductMapper {
    void insertPro(Product product);

    List<Product> selectPro(Product Product);

    List<Product> selectNew();

    List<Product> selected();

    List<ProductVo> selectBest();

    List<Product> selectByPrimary(Integer primaryId);

    List<Product> selectSell(Integer primary);

    List<ProductPo> selectShopPrimary(Product product);

    ProductPo selectVo(Integer productId);

    void update(Product product);

    void delete(Integer productId);

    List<ProductPo> selectKey(String keyWord);
}
